package com.mc.fil.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 底肥信息 对象 fil_manure
 *
 * @author mc
 * @date 2021-04-15
 */
public class FilManure extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 肥料名称 */
    @Excel(name = "肥料名称")
    private String manureName;

    /** 底肥用量 */
    @Excel(name = "底肥用量")
    private Long manureUseLevel;

    private String filId;

    /** 执行人编号 */
    @Excel(name = "执行人编号")
    private String workUserId;

    private List<FilMultimedia> photos;

    public List<FilMultimedia> getPhotos() {
        return photos;
    }

    public void setPhotos(List<FilMultimedia> photos) {
        this.photos = photos;
    }

    public String getFilId() {
        return filId;
    }

    public void setFilId(String filId) {
        this.filId = filId;
    }

    public String getWorkUserId() {
        return workUserId;
    }

    public void setWorkUserId(String workUserId) {
        this.workUserId = workUserId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setManureName(String manureName)
    {
        this.manureName = manureName;
    }

    public String getManureName()
    {
        return manureName;
    }
    public void setManureUseLevel(Long manureUseLevel)
    {
        this.manureUseLevel = manureUseLevel;
    }

    public Long getManureUseLevel()
    {
        return manureUseLevel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createUserId", getCreateUserId())
                .append("createTime", getCreateTime())
                .append("manureName", getManureName())
                .append("manureUseLevel", getManureUseLevel())
                .append("filId", getFilId())
                .append("workUserId", getWorkUserId())
                .append("photos", getPhotos())
                .toString();
    }

}